package org.snail.proxy.client.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "proxy")
public class ProxyConfig {
    private String ip;
    private int port;
    private List<AgentConfig> group;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public List<AgentConfig> getGroup() {
        return group;
    }

    public void setGroup(List<AgentConfig> group) {
        this.group = group;
    }
}
